package com.cnt.service;

import com.cnt.entity.UserInfo;
import com.cnt.vo.ResultVo;
import com.cnt.vo.UserResultVo.UserInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UserInfoService {

    public ResultVo<UserInfo> getUserInfo(Integer account);

    public ResultVo<UserInfo> updateUserInfo(UserInfo userInfo);

    public ResultVo<String> updateImage(Integer userId, MultipartFile file);

    public ResultVo<String> showHead(Integer userId);

    ResultVo<UserInfoVo> getUserInfoVo(Integer userId);

    public ResultVo<List<UserInfoVo>> getAdministrators();
}
